package com.testmanager.testmananger.shuiyou.strCompare.domain;

import com.testmanager.testmananger.foundation.domain.AbstractAuditingEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Data
@Accessors(chain = true)
@Table(name = "sy_comparescriptkey")
public class SyCompareScriptKeyEntity extends AbstractAuditingEntity implements Serializable {
    private static final long serialVersionUID = 4164654011994959680L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long id;

    @Column
    private int type; // 1.锚点名   2.变量名

    @Column
    private String name;

    @Column(name = "scriptid")
    private String scriptId;
}
